package com.rmb.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author 段段
 * @PackageName: com.rmb.mapper
 * @ClassName: TaskConditionMapper
 * @Description:
 * @data: 2021/1/10 19:15
 **/
@Mapper
public interface TaskConditionMapper {
    /**
     * 拼装sql
     * @param sql sql语句
     * @return 拼装结果
     */
    List<Map<String, Object>> conditionQuerySql(@Param("sql") String sql);

    /**
     * 执行添加语句
     * @param insert
     */
    void insert(String insert);
}
